﻿
using Abp.AutoMapper;
using FutureApp.Authorization.Permissions;
using System;

namespace FutureApp.Authorization.Dto
{
    /// <summary>
    /// 创建权限规则输入参数Dto
    /// </summary>
    [AutoMapTo(typeof(PermissionDefinition))]
    public class CreatePermissionDefinitionInput
    {
        /// <summary>
        /// 权限规则
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 权限概述
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        /// 父权限
        /// </summary>
        public Guid? ParentId { get; set; }
    }
}